package com.iafme.mapper;

import com.iafme.dto.res.MemberOrderResDTO;
import com.iafme.model.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author summer
 * @since 2025/01/05 21:14:46
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {

    /**
     * 查询会员订单详情
     * @param orderId
     * @return
     */
    MemberOrderResDTO findMemberOrder(Integer orderId);
}
